package com.bsoft.exchange.controller.examination;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

import java.util.List;

@Controller
@RestController
@RequestMapping(value = "medical")
public class ExaminationController {

//    @Autowired
//    private MedicalAppointmentService medicalAppointmentService;


//    /**
//     * 获取体检预约列表
//     *
//     * @param examListParam 查询参数
//     * @return 列表数据
//     */
//    @RequestMapping(value = "/appointmentList", method = RequestMethod.POST, produces = "application/json")
//    @ResponseBody
//    public ResponseEntity<List<MedicalAppointmentVO>> examList(@RequestBody ExamListParam examListParam) {
//        List<MedicalAppointmentVO> list = medicalAppointmentService.getListByParams(examListParam.getIdentityType(), examListParam.getIdentityNo(), examListParam.getOrgId());
//        ResponseEntity<List<MedicalAppointmentVO>> responseEntity = new ResponseEntity<>();
//        responseEntity.setData(list);
//        responseEntity.setCode(Constant.successTag);
//        if (list != null && list.size() > 0) {
//            responseEntity.setMessage("查询成功！");
//        } else {
//            responseEntity.setMessage("暂无数据！");
//        }
//        return responseEntity;
//        return null
//    }
}
